package cn.yyt.yytravel.scene.mapper;

import cn.yyt.yytravel.scene.pojo.Area1;
import cn.yyt.yytravel.scene.pojo.AreaQuery;
import cn.yyt.yytravel.scene.pojo.AreaVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AreaMapper {

    List<AreaVO> selectArea(AreaQuery areaQuery);

    List<AreaVO> selectAreaById(Integer id);

    void update(Area1 area1);

    void insert(Area1 area1);

    void deleteById(Long userId);
}
